package com.sxt.business.service;

import com.sxt.business.domain.Salesback;
import com.sxt.business.vo.SalesbackVO;
import com.sxt.system.utils.DataGridView;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 俊哥
 * @since 2019-11-16
 */
public interface ISalesbackService extends IService<Salesback> {

	void addSalesback(Salesback salesback);

	/**
	 * 	根据商品退货单ID查询是否有退单
	 * @param salesId
	 * @return
	 */
	Integer loadSalesbackBySalesId(Integer salesId);

	DataGridView queryAllSalesback(SalesbackVO salesbackVO);

}
